package com.ruoyi.order.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用户地址对象 userAddress
 * 
 * @author ruoyi
 * @date 2022-02-08
 */
public class UserAddress extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 地址id */
    private Integer addressID;

    /** 接收人 */
    @Excel(name = "接收人")
    private String acceptPerson;

    /** 电话 */
    @Excel(name = "电话")
    private String mobile;

    /** 省份id */
    @Excel(name = "省份id")
    private Integer provinceID;

    /** 城市id */
    @Excel(name = "城市id")
    private Integer cityID;

    /** 区域 */
    @Excel(name = "区域")
    private Integer areaID;

    /** 地址详情 */
    @Excel(name = "地址详情")
    private String detail;


    /** 状态 */
    @Excel(name = "状态")
    private Integer state;
    private String provinceName;
    private String cityName ;
    private String areaName ;

    public String getProvinceName() {
        return provinceName;
    }

    public void setProvinceName(String provinceName) {
        this.provinceName = provinceName;
    }

    public String getCityName() {
        return cityName;
    }

    public void setCityName(String cityName) {
        this.cityName = cityName;
    }

    public String getAreaName() {
        return areaName;
    }

    public void setAreaName(String areaName) {
        this.areaName = areaName;
    }

    public void setAddressID(Integer addressID)
    {
        this.addressID = addressID;
    }

    public Integer getAddressID() 
    {
        return addressID;
    }

    public String getAcceptPerson() {
        return acceptPerson;
    }

    public void setAcceptPerson(String acceptPerson) {
        this.acceptPerson = acceptPerson;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getMobile()
    {
        return mobile;
    }
    public void setProvinceID(Integer provinceID) 
    {
        this.provinceID = provinceID;
    }

    public Integer getProvinceID() 
    {
        return provinceID;
    }
    public void setCityID(Integer cityID) 
    {
        this.cityID = cityID;
    }

    public Integer getCityID() 
    {
        return cityID;
    }
    public void setAreaID(Integer areaID) 
    {
        this.areaID = areaID;
    }

    public Integer getAreaID() 
    {
        return areaID;
    }
    public void setDetail(String detail) 
    {
        this.detail = detail;
    }

    public String getDetail() 
    {
        return detail;
    }
    public void setState(Integer state) 
    {
        this.state = state;
    }

    public Integer getState() 
    {
        return state;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("addressID", getAddressID())
            .append("acceptPerson", getAcceptPerson())
            .append("mobile", getMobile())
            .append("provinceID", getProvinceID())
            .append("cityID", getCityID())
            .append("areaID", getAreaID())
            .append("detail", getDetail())
            .append("remark", getRemark())
            .append("state", getState())
            .toString();
    }
}
